package cn.wikiflyer.beikang.bean;

import java.io.Serializable;
import java.util.ArrayList;

import android.view.View;

import cn.wk.libs4a.bean.BaseListBean;

public class VipUserListBean extends BaseListBean {

	public int pageCount;
	public int pageNow;
	public ArrayList<VipUserBean> list;

	public class VipUserBean implements Serializable {
		public String connectid;
		public String sales_volume;
		public String sales_cash;
		public String userid;
		public String loginnum;
		public String history_cash;
		public String from;
		public String password;
		public String amount;
		public String vip;
		public String username;
		public String level;
		public String regip;
		public String encrypt;
		public String regdate;
		public String self_code;
		public String money;
		public String siteid;
		public String groupid;
		public String overduedate;
		public String lastdate;
		public String memberno;
		public String nickname;
		public String phpssouid;
		public String areaid;
		public String modelid;
		public String lastip;
		public String islock;
		public String parent_code;
		public String upgrade;
		public String message;
		public String point;
		public String email;
		public String branch;
		public String not_settled;
		public String realname;
		public String level_title;
		public String mobile;
		

		// vip_number.setText(t.realname);
		// vip_name.setText(t.username);
		// vip_count.setText(t.sales_volume + "");
		// vip_level.setText(t.level_title);
		// if (!t.upgrade.equals("false")) {
		// vip_tip.setVisibility(View.VISIBLE);
		// vip_tip.setText(t.upgrade);
		// } else {
		// vip_tip.setVisibility(View.INVISIBLE);
		// }

		public boolean search(String str) {
			if (realname != null && realname.contains(str)) {
				return true;
			} else if (username != null && username.contains(str)) {
				return true;
			} else if (userid != null && userid.contains(str)) {
				return true;
			}
			// if (username != null && realname.contains(username)) {
			// return true;
			// }if (username != null && realname.contains(username)) {
			// return true;
			// }if (username != null && realname.contains(username)) {
			// return true;
			// }

			return false;
		}
	}

}
